home *** CD-ROM | disk | FTP | other *** search
/ Inside Mac Games Volume 1 / Inside Mac Games Volume 1.iso / Data / main.30 / main.30 / 00005.ls < prev    next >
Encoding:
Text File  |  1994-05-19  |  388 b   |  11 lines

  1. on spritemove whichspritewemove
  2.   global locationH, locationv
  3.   puppetSprite(whichspritewemove, 1)
  4.   set locationH to the locH of sprite whichspritewemove + 3
  5.   set locationv to the locV of sprite whichspritewemove + 3
  6.   set the locH of sprite whichspritewemove to locationH
  7.   set the locV of sprite whichspritewemove to locationv
  8.   updateStage()
  9.   puppetSprite(whichspritewemove, 0)
  10. end
  11.